import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import axios from 'axios'
import VueAxios from 'vue-axios'
//引入自定义样式和素材
import '@/assets/css/global.css'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

axios.defaults.withCredentials = true    //全局设置axios允许携带cookie进行访问  


createApp(App).use(router).use(VueAxios, axios).use(ElementPlus).mount('#app')
